<?php

define('WP_USE_THEMES', true);


$blog='NULL';
$blogdata='NULL';
$optiondomain = 'system';
$_REQUEST['b']='system';

require('private.php');
require(CONFIGPATH . 'wp-config.php');
require_once( ABSPATH . WPINC . '/registration-functions.php');

require('portal.lib');

global $more_article;

$time_begin=date("u");

$SITE_TITLE = get_settings('site_title');

require('portal_header.php');


if($_GET["CAT_NAME"]){
		$line->cat_name=urldecode($_GET["CAT_NAME"]);
		$line->cat_name=stripslashes($line->cat_name);
		$catalog[0]=$line;
		$record_num=30;	
		$more_article=1;
}


    echo '<div id="cat-list" >';

    echo show_cat($catalog);

    echo '</div>';

?>	

<div id="blog-list">
<fieldset><legend><b><font size=4> All Blogs</font></b></legend>
<ul>
<?php
   echo get_all_blogs();
?>	
</ul>
</fieldset>
<br clear="both"/>
</div>

<?php
    require('portal_bottom.html');
?>	


